WP_Statistics\Dependencies\DeviceDetector\Parser\OperatingSystem A

Total Complexity 71
Dependencies 2
Dependents 1
Total lines 700
Lines of code 237
Logical lines of code 142
Comment lines 100
Methods 10
Properties 8

Methods 10

Method Rating Maintainability Complexity Lines of code
parse()
B
36 21 81
parsePlatform()
B
43 19 50
parseOsFromClientHints()
A
49 10 30
parseOsFromUserAgent()
A
48 9 36
getOsFamily()
S
62 4 11
getShortOsData()
S
61 3 12
getNameFromId()
S
67 2 7
getAvailableOperatingSystems()
S
80 1 3
getAvailableOperatingSystemFamilies()
S
80 1 3
isDesktopOs()
S
74 1 4